package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.AttendanceSheet;
import cn.wolfcode.crm.query.ShareQueryObject;

import java.util.List;

public interface AttendanceSheetMapper {

    int deleteByPrimaryKey(Long id);

    int insert(AttendanceSheet record);

    AttendanceSheet selectByPrimaryKey(Long id);

    List<AttendanceSheet> selectAll();

    int updateByPrimaryKey(AttendanceSheet record);

    //查询总数
    int queryForCount(ShareQueryObject qo);
    //查询每页的数据
    List<AttendanceSheet> queryForList(ShareQueryObject qo);
    //查询数据库做导出操作
    List<AttendanceSheet> selectExport();
}